package com.appkubes.fintech.restful.application.rent.service;


import com.appkubes.fintech.common.response.Response;
import com.appkubes.fintech.core.po.FintechRentBillHeader;
import com.appkubes.fintech.core.po.FintechRentOrder;
import com.appkubes.fintech.restful.application.pay.common.contract.response.RentOrderResponse;
import com.appkubes.fintech.restful.application.rent.reponse.RentOrderDTO;
import com.appkubes.fintech.restful.application.rent.request.order.AddRentOrderVO;
import com.appkubes.fintech.restful.application.rent.request.OrderKeyVO;
import com.appkubes.fintech.restful.application.rent.request.RentRequest;

import java.util.List;

/**
 * @description:
 * @author: xqc
 * @date: 2020/1/2 15:46
 * @params:
 * @return:
 */
public interface IRentOrderService {



    Response paySuc(String orderKey);
    RentOrderResponse queryOrderKey(String orderKey);

    /**
     * 添加租凭订单
     *
     * @param rentOrderVO
     * @return
     */
    RentOrderDTO addRentOrder(AddRentOrderVO rentOrderVO);


    RentOrderDTO ship(OrderKeyVO orderKeyVO);


    RentOrderDTO cancel(OrderKeyVO orderKeyVO);

    List<FintechRentBillHeader> getByUserKey(String userKey);

    public FintechRentOrder queryByUserKey(String  userKey);
}
